<template>
  <div>
    <NavHeader></NavHeader>
    <div class="twoaside">
      <swiper></swiper>
      <div class="rightBox">
        <h1>红米Note 7</h1>
        <div class="size">相机全新升级 / 960帧超慢动作 / 手持超级夜景 / 全球首款双频GPS / 骁龙845处理器 / 红<br />外人脸解锁 / AI变焦双摄 / 三星 AMOLED 屏</div>
        <div class="self-support">小米自营</div>
        <span class="price">999元</span><span class="deleteprice">1999元</span>
        <div class="addressBox">
          <div class="gray">北京 北京市 朝阳区 安定门街道</div>
          <div class="self-support">有现货</div>
        </div>
        <h3>选择版本</h3>
        <div class="typeBox">
          <div class="type1">6GB+64GB 全网通</div>
          <div class="type2">4GB+64GB 移动4G</div>
        </div>
        <h3>选择颜色</h3>
        <div class="lastBox">
          <div class="colorBox"></div>
          <div class="type3">深空灰</div>
        </div>
      </div>
    </div>
    <NavFooter></NavFooter>
    <!-- <ProductParam></ProductParam> -->
  </div>
</template>

<script>
import NavHeader from '@/components/NavHeader'
import NavFooter from '@/components/NavFooter'
import swiper from '@/components/swiper'
// import ProductParam from '@/components/ProductParam'
export default {
  name: 'App',
  components:{
    NavHeader,
    NavFooter,
    swiper,
    // ProductParam
  },
  data() {
    return {
      
    }
  },
}
</script>
<style scoped>
  .rightBox{
    width: calc( 45% - 20px);
    border: 2px solid black;
    padding-left: 20px;
    padding-bottom: 30px;
  }
  .size{
    font-size: 14px;
    padding: 10px 0 20px 0;
  }
  .self-support{
    color: #d77e56;
  }
  .price{
    color: #f1792b;
  }
  .deleteprice{
    color: #979b9e;
    text-decoration: line-through;
  }
  .addressBox{
    margin: 20px 0;
    font-size: 14px;
    border: 2px solid #ddd;
    width: calc(100% - 20px);
    padding: 20px 40px;
    box-sizing: border-box;
  }
  .gray{
    color: rgb(80, 77, 77);
    padding: 10px 0;
  }
  .type1{
    width: 200px;
    border: 2px solid orange;
    text-align: center;
    padding: 12px 20px;
    color: #f1792b;
    margin-right: 10px;
  }
  .type2{
    width: 200px;
    border: 2px solid rgb(202, 202, 202);
    text-align: center;
    padding: 12px 20px;
  }
  .typeBox{
    display: flex;
  }
  .colorBox{
    width: 10px;
    height: 10px;
    background: gray;
  }
  .lastBox{
    display: flex;
    align-items: center;
    width: 200px;
    border: 2px solid orange;
    padding: 12px 20px;
    color: #f1792b;
  }
  .twoaside{
    display: flex;
    justify-content: space-between;
  }
</style>
